package com.tutu.borrow;

import com.tutu.commons.feign.BookClient;
import com.tutu.commons.feign.UserClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Program: SpringCloud
 * @Description:
 * @Author: JK.TuTu
 * @Version: 1.0
 * @Create: 2022-12-01 11:49
 **/
@Slf4j
@EnableFeignClients(clients = {UserClient.class, BookClient.class})  //开启openfeign
@SpringBootApplication
public class BorrowApplication {
    public static void main(String[] args) {
        SpringApplication.run(BorrowApplication.class, args);
        log.info("Borrow-Server项目已启动.........");
    }
}
